makeFairDie = (sides = 6)->
	# assert typeof sides is number and sides >= 1
	die = ->
		randInt(1, sides)

makeTestDie = (outconmes...)->
	#assert outconmes.length > 0
	#for o in outconmes
	#	assert typeof o is number and o >= 1
	index = outconmes.length - 1
	die = ->
		index = ( index+1 ) % outconmes.length
		outconmes[index]